TOC This Package Prev Next Index
public class java.lang.OutOfMemoryError extends java.lang.VirtualMachineError (§1.61) { public OutOfMemoryError(); §1.55.1 public OutOfMemoryError(String s); §1.55.2 }The Java runtime throws an instance of this class if an attempt to allocate an object failed because the runtime could not find enough space to allocate the object.
public OutOfMemoryError()
OutOfMemoryError
public OutOfMemoryError(String s)
OutOfMemoryError
with the specified detail message.
s
-
the detail message
TOC This Package Prev Next Index